package scau.mis4.chanyulin.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import scau.mis4.chanyulin.base.common.IBaseMapper;
import scau.mis4.chanyulin.entity.GoodDetail;
import java.util.List;

/**
 * Created by cyl on 2018/03/27.
 * GoodDetail Dao层
 */
@Repository
public interface IGoodDetailMapper extends IBaseMapper<GoodDetail> {

    List<GoodDetail> findAllGoodDetail();

    GoodDetail findGoodDetailById(@Param("id") String id);

    List<GoodDetail> findGoodDetailByGoodId(@Param("goodId") String goodId);

}
